package HashMap;

/**
 * @author zxc
 * @date 2023/04/12 22:02
 **/
public class Demo {
    public static void main(String[] args) {
        MyHashMap<String, Object> myHashMap = new MyHashMap<>( 0.5f );
        myHashMap.put("zxc" , 123465);
        myHashMap.put("zxc1" , 7846);
        myHashMap.put("zxc1" , "falkdjlf");
        myHashMap.put("zxc3" , "handsome");
        myHashMap.put("zxc4" , "beautiful");
        myHashMap.put("zxc5" , "apple");
        myHashMap.put("zxc6" , "pear");
        myHashMap.put("zxc7" , "egg");
        myHashMap.put("zxc8" , "5201314");
        myHashMap.put("zxc9" , "tiger");

        System.out.println(myHashMap.get("zxc1"));
        System.out.println(myHashMap.size());
    }
}
